package com.atguigu.gmall.user;


import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

@Slf4j
@EnableAutoConfiguration
@SpringBootApplication
@MapperScan(basePackages = "com.atguigu.gmall.user.mapper")
//@ComponentScan(basePackages = {"com.atguigu.gmall.user"})
public class GmallUserApplication {

	public static void main(String[] args) {
		log.info("---------start---------");
		SpringApplication.run(GmallUserApplication.class, args);
		log.info("---------start success---------");
	}

}
